package com.wnx.job.modules.jms.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wnx.job.modules.jms.dto.StudentParam;
import com.wnx.job.modules.jms.model.JmsStudent;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 学生 Mapper 接口
 * </p>
 *
 * @author wangnaixing
 * @since 2021-12-17
 */
public interface JmsStudentMapper extends BaseMapper<JmsStudent> {
    /**
     * 根据ID查询学生信息
     * @param id
     * @return
     */
    StudentParam findById(Long id);

    /**
     * 根据条件查询学生信息
     * @param queryParams
     * @return
     */
    List<StudentParam> findByCondition(Map<String, Object> queryParams);
}
